export default async (ctx, next) => {
  const reqTime = new Date().getTime()
  await next()
  const resTime = new Date().getTime()
  console.log(`-> ${ctx.method} ${ctx.url} ${ctx.status} - ${resTime - reqTime}ms`)
}
